package com.factory.absfactory.self.pizza;

public abstract class Cake {

    private String name;

    public void setName(String name) {
        this.name = name;
    }

    public abstract void prepare();

    public void ferment(){
        System.out.println("发酵蛋糕");
    }

    public void cut(){
        System.out.println("切蛋糕");
    }

    public void box(){
        System.out.println("打包蛋糕");
    }
}
